package com.wcw.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.wcw.entity.UserEntity;

@Mapper
public interface UserMapper {

	List<UserEntity> findAll();
	
	int insert(UserEntity user);
	
	Map<String,Object> findById(@Param("id")Long id);
	
	List<Map<String,Object>> testJoin();
}
